package kr.hkit.powerjava.chapter23;

public class MyRunnable implements Runnable {

	@Override
	public void run() {
		for(char ch = 'A' ; ch <= 'Z' ; ch++) { //이게 먼저 실행되고. 그래서 겹침
			System.out.print(ch + " ");
			try {Thread.sleep(500);} catch (InterruptedException e) {} 
			//하나찍고 0.5초동안 잠시 쉬어라. 
		}
		System.out.println("MyRunnable 종료");

	}

}
